package com.idefav.service;

import com.idefav.pojo.TdUser;
import com.idefav.pojo.TdUserdetail;

import java.util.List;

/**
 * Created by wzs on 2017/7/15.
 */
public interface UserService {
    List<TdUser> getAllUser();
    TdUser getUserById(int uid);

    boolean addUser(TdUser user);
    int getTotalCount();
    int getUid();
    boolean addUserDetail(TdUserdetail tdUserdetail);

    boolean removeUser(int uid);

}
